const mongoose = require('mongoose')
const Schema = mongoose.Schema

// product模型
const ProductType = {
  title: String,
  introduction: String,
  detail: String,
  cover: String,
  editTime: Date
}
const ProductModel = mongoose.model('product', new Schema(ProductType))
module.exports = ProductModel
